<div class="divstudent">
    <ng-content select="span"></ng-content>
    <!-- <span>{{student.name}}</span>     -->
    <!-- <ng-content select="img"></ng-content>         -->
    <ng-content></ng-content>
    <img [src]="student.img" class="rounded mx-auto" (click)="studentImgClick(student)">

    <span>{{"总分："+(student.yinyu+student.yuwen+student.shuxue).toFixed(2)}}</span>

   <!-- 成绩评定 -->
    <ng-container *ngIf="custompingdingTemplate;else defaultpingding">
        <ng-template [ngTemplateOutlet]="custompingdingTemplate"></ng-template>
    </ng-container>
     <!-- 内部定义一个成绩评定默认模版 -->
    <ng-template #defaultpingding>
        <div class="divgood">成绩合格！</div>
    </ng-template>

</div>